package org.example.entity.dto;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AddAppealCollectDto {


    /**
     * 诉求标题
     */
    @NotBlank(message = "诉求标题不能为空")
    private String title;

    @NotBlank(message = "诉求类型不能为空")
    private String type;

    /**
     * 诉求内容
     */
    @NotBlank(message = "诉求内容不能为空")
    private String content;

    /**
     * 诉求人id
     */
    @NotNull(message = "诉求人id不能为空")
    private String userId;


}
